package com.tcm.user.event;

import org.springframework.context.ApplicationEvent;

import java.util.Map;

public class LoginEvent extends ApplicationEvent {

    private Map<String, Object> loginParams;

    public LoginEvent(Object source, Map<String, Object> params) {
        super(source);
        this.loginParams = params;
    }

    public Map<String, Object> getLoginParams() {
        return loginParams;
    }

    public void setLoginParams(Map<String, Object> loginParams) {
        this.loginParams = loginParams;
    }
}
